<?php

// [ 合作机构 ]

namespace app\index\controller;
use think\Controller;
use think\Db;

class Organization extends Controller
{
    // 合作机构
    // http://jzl.51dojob.com/organizations
    public function index()
    {
        return $this->fetch();
    }

    // 合作机构详情
    // http://jzl.51dojob.com/organization/ID
    public function read($id = 0)
    {
        //$org = Db::name('agency')->where('id',$id)->find();

        //$this->assign('org',$org);
        
        $this->assign('id',$id);
        return $this->fetch();
    }
}